A for loop without calculations. This is the reference for the other benchmarks in this suite.
Dataset | Length | Min | Max | Average | Median | Standard Deviation | Factor (Average) | Factor (Median) |
0 | 955 | 0.0002 | 0.0003 | 0.0002 | 0.0002 | 0.0000 | 1.0000 | 1.0000 |
1000 | 953 | 0.0070 | 0.0078 | 0.0072 | 0.0070 | 0.0003 | 1.0000 | 1.0000 |
2000 | 951 | 0.0139 | 0.0177 | 0.0145 | 0.0140 | 0.0008 | 1.0000 | 1.0000 |
3000 | 952 | 0.0208 | 0.0242 | 0.0225 | 0.0227 | 0.0008 | 1.0000 | 1.0000 |
4000 | 955 | 0.0278 | 0.0317 | 0.0293 | 0.0301 | 0.0012 | 1.0000 | 1.0000 |
5000 | 951 | 0.0346 | 0.0402 | 0.0373 | 0.0377 | 0.0014 | 1.0000 | 1.0000 |
6000 | 951 | 0.0416 | 0.0482 | 0.0442 | 0.0452 | 0.0018 | 1.0000 | 1.0000 |
7000 | 951 | 0.0485 | 0.0560 | 0.0510 | 0.0509 | 0.0020 | 1.0000 | 1.0000 |
8000 | 951 | 0.0554 | 0.0633 | 0.0597 | 0.0603 | 0.0018 | 1.0000 | 1.0000 |
9000 | 951 | 0.0623 | 0.0714 | 0.0661 | 0.0678 | 0.0024 | 1.0000 | 1.0000 |
10000 | 951 | 0.0693 | 0.0781 | 0.0748 | 0.0753 | 0.0018 | 1.0000 | 1.0000 |
Input:
0
Output:
7
Input:
1000
Output:
7
Input:
2000
Output:
7
Input:
3000
Output:
7
Input:
4000
Output:
7
Input:
5000
Output:
7
Input:
6000
Output:
7
Input:
7000
Output:
7
Input:
8000
Output:
7
Input:
9000
Output:
7
Input:
10000
Output:
7
The overview over the suite is in chapter Suite Arithmetic Int.
Integer addition.
Dataset | Length | Min | Max | Average | Median | Standard Deviation | Factor (Average) | Factor (Median) |
0 | 986 | 0.0002 | 0.0002 | 0.0002 | 0.0002 | 0.0000 | 0.9736 | 0.8004 |
1000 | 952 | 0.0068 | 0.0080 | 0.0072 | 0.0074 | 0.0003 | 0.9941 | 1.0547 |
2000 | 955 | 0.0136 | 0.0176 | 0.0144 | 0.0147 | 0.0009 | 0.9965 | 1.0551 |
3000 | 951 | 0.0203 | 0.0245 | 0.0212 | 0.0204 | 0.0012 | 0.9462 | 0.9015 |
4000 | 952 | 0.0270 | 0.0313 | 0.0288 | 0.0294 | 0.0013 | 0.9844 | 0.9770 |
5000 | 951 | 0.0338 | 0.0396 | 0.0355 | 0.0351 | 0.0015 | 0.9539 | 0.9316 |
6000 | 951 | 0.0405 | 0.0470 | 0.0429 | 0.0441 | 0.0018 | 0.9714 | 0.9753 |
7000 | 951 | 0.0473 | 0.0526 | 0.0509 | 0.0515 | 0.0015 | 0.9989 | 1.0113 |
8000 | 951 | 0.0540 | 0.0620 | 0.0573 | 0.0585 | 0.0021 | 0.9612 | 0.9706 |
9000 | 951 | 0.0607 | 0.0696 | 0.0651 | 0.0661 | 0.0021 | 0.9843 | 0.9756 |
10000 | 951 | 0.0674 | 0.0763 | 0.0720 | 0.0734 | 0.0023 | 0.9621 | 0.9744 |
Input:
0
Output:
123
Input:
1000
Output:
123123
Input:
2000
Output:
246123
Input:
3000
Output:
369123
Input:
4000
Output:
492123
Input:
5000
Output:
615123
Input:
6000
Output:
738123
Input:
7000
Output:
861123
Input:
8000
Output:
984123
Input:
9000
Output:
1107123
Input:
10000
Output:
1230123
The overview over the suite is in chapter Suite Arithmetic Int.
Integer subtraction.
Dataset | Length | Min | Max | Average | Median | Standard Deviation | Factor (Average) | Factor (Median) |
0 | 993 | 0.0002 | 0.0002 | 0.0002 | 0.0002 | 0.0000 | 0.9128 | 0.8004 |
1000 | 951 | 0.0068 | 0.0078 | 0.0072 | 0.0069 | 0.0003 | 0.9874 | 0.9836 |
2000 | 951 | 0.0136 | 0.0151 | 0.0141 | 0.0137 | 0.0006 | 0.9736 | 0.9780 |
3000 | 953 | 0.0203 | 0.0242 | 0.0215 | 0.0218 | 0.0010 | 0.9554 | 0.9626 |
4000 | 951 | 0.0271 | 0.0316 | 0.0289 | 0.0295 | 0.0011 | 0.9873 | 0.9783 |
5000 | 951 | 0.0338 | 0.0382 | 0.0362 | 0.0368 | 0.0013 | 0.9726 | 0.9765 |
6000 | 952 | 0.0405 | 0.0472 | 0.0431 | 0.0442 | 0.0017 | 0.9761 | 0.9762 |
7000 | 951 | 0.0472 | 0.0553 | 0.0506 | 0.0515 | 0.0018 | 0.9922 | 1.0113 |
8000 | 951 | 0.0540 | 0.0613 | 0.0572 | 0.0583 | 0.0021 | 0.9595 | 0.9668 |
9000 | 951 | 0.0607 | 0.0718 | 0.0638 | 0.0625 | 0.0025 | 0.9649 | 0.9227 |
10000 | 951 | 0.0675 | 0.0765 | 0.0718 | 0.0723 | 0.0023 | 0.9601 | 0.9591 |
Input:
0
Output:
-123
Input:
1000
Output:
-123123
Input:
2000
Output:
-246123
Input:
3000
Output:
-369123
Input:
4000
Output:
-492123
Input:
5000
Output:
-615123
Input:
6000
Output:
-738123
Input:
7000
Output:
-861123
Input:
8000
Output:
-984123
Input:
9000
Output:
-1107123
Input:
10000
Output:
-1230123
The overview over the suite is in chapter Suite Arithmetic Int.
Integer multiplication.
Dataset | Length | Min | Max | Average | Median | Standard Deviation | Factor (Average) | Factor (Median) |
0 | 996 | 0.0002 | 0.0002 | 0.0002 | 0.0002 | 0.0000 | 0.9772 | 0.8004 |
1000 | 951 | 0.0076 | 0.0085 | 0.0079 | 0.0077 | 0.0003 | 1.0905 | 1.0874 |
2000 | 952 | 0.0151 | 0.0190 | 0.0160 | 0.0164 | 0.0009 | 1.1066 | 1.1736 |
3000 | 953 | 0.0226 | 0.0267 | 0.0240 | 0.0246 | 0.0011 | 1.0670 | 1.0849 |
4000 | 951 | 0.0301 | 0.0340 | 0.0318 | 0.0328 | 0.0012 | 1.0881 | 1.0868 |
5000 | 955 | 0.0376 | 0.0431 | 0.0403 | 0.0410 | 0.0014 | 1.0825 | 1.0857 |
6000 | 951 | 0.0451 | 0.0515 | 0.0479 | 0.0491 | 0.0019 | 1.0842 | 1.0860 |
7000 | 951 | 0.0527 | 0.0587 | 0.0557 | 0.0573 | 0.0020 | 1.0915 | 1.1247 |
8000 | 951 | 0.0601 | 0.0682 | 0.0636 | 0.0643 | 0.0023 | 1.0659 | 1.0664 |
9000 | 952 | 0.0676 | 0.0771 | 0.0715 | 0.0723 | 0.0026 | 1.0811 | 1.0670 |
10000 | 951 | 0.0753 | 0.0837 | 0.0796 | 0.0818 | 0.0027 | 1.0636 | 1.0858 |
Input:
0
Output:
49
Input:
1000
Output:
-303427599
Input:
2000
Output:
383332273
Input:
3000
Output:
323575665
Input:
4000
Output:
-323576015
Input:
5000
Output:
-576917775
Input:
6000
Output:
293097137
Input:
7000
Output:
1690615409
Input:
8000
Output:
620641841
Input:
9000
Output:
-794767887
Input:
10000
Output:
-685216335
The overview over the suite is in chapter Suite Arithmetic Int.
Integer division.
Dataset | Length | Min | Max | Average | Median | Standard Deviation | Factor (Average) | Factor (Median) |
0 | 989 | 0.0002 | 0.0002 | 0.0002 | 0.0002 | 0.0000 | 0.9304 | 0.8004 |
1000 | 964 | 0.0082 | 0.0092 | 0.0086 | 0.0085 | 0.0004 | 1.1933 | 1.2077 |
2000 | 951 | 0.0163 | 0.0205 | 0.0172 | 0.0165 | 0.0011 | 1.1883 | 1.1791 |
3000 | 951 | 0.0245 | 0.0288 | 0.0261 | 0.0268 | 0.0012 | 1.1634 | 1.1800 |
4000 | 951 | 0.0325 | 0.0369 | 0.0350 | 0.0356 | 0.0013 | 1.1949 | 1.1814 |
5000 | 951 | 0.0407 | 0.0454 | 0.0432 | 0.0445 | 0.0017 | 1.1594 | 1.1786 |
6000 | 951 | 0.0490 | 0.0553 | 0.0525 | 0.0535 | 0.0018 | 1.1894 | 1.1821 |
7000 | 951 | 0.0573 | 0.0644 | 0.0606 | 0.0613 | 0.0021 | 1.1875 | 1.2041 |
8000 | 953 | 0.0651 | 0.0724 | 0.0690 | 0.0696 | 0.0024 | 1.1570 | 1.1539 |
9000 | 951 | 0.0734 | 0.0820 | 0.0782 | 0.0800 | 0.0025 | 1.1830 | 1.1801 |
10000 | 951 | 0.0816 | 0.0935 | 0.0865 | 0.0862 | 0.0030 | 1.1557 | 1.1441 |
Input:
0
Output:
1
Input:
1000
Output:
0
Input:
2000
Output:
0
Input:
3000
Output:
0
Input:
4000
Output:
0
Input:
5000
Output:
0
Input:
6000
Output:
0
Input:
7000
Output:
0
Input:
8000
Output:
0
Input:
9000
Output:
0
Input:
10000
Output:
0
The overview over the suite is in chapter Suite Arithmetic Int.
The report for this suite was generated in 58.086 seconds.